<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<%@ taglib prefix="tfn" uri="http://www.totoro.com/functions" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<html>
<head>
    <title>天猫足迹</title>
    <link rel="shortcut icon" type="image/x-icon" href="/static/img/index/favicon.png">
    <link rel="stylesheet" href="${pageContext.request.contextPath}/static/css/public.css"/>
    <link rel="stylesheet" href="${pageContext.request.contextPath}/static/css/nav.css"/>
    <link rel="stylesheet" href="${pageContext.request.contextPath}/static/iconFont/iconfont.css"/>
    <link rel="stylesheet" href="${pageContext.request.contextPath}/static/css/user/tm_foot.css"/>
    <link rel="stylesheet" href="${pageContext.request.contextPath}/static/css/user/minirefresh.css"/>
    <link rel="stylesheet" href="${pageContext.request.contextPath}/static/css/user/minirefresh.theme.taobao.min.css"/>
    <link rel="stylesheet" href="${pageContext.request.contextPath}/static/css/user/common.css"/>
</head>
<body>
<script type="text/javascript" src="${pageContext.request.contextPath}/static/js/frame/jquery-3.5.1.min.js"></script>

<!-- nav start-->
<jsp:include page="${pageContext.request.contextPath}/public_page/nav.jsp"></jsp:include>
<div style="width: 100%; height: 6px; background-color: #F2F2F2"></div>
<!-- nav end-->
<!-- main start-->

<div class=" page-layout page-main-content" data-page-id="178835">

    <!-- container -->
    <div class="layout layout-grid-0">
        <!--row -->
        <div class="grid-0">

            <!-- col -->

            <div class="col col-main">
                <div class="main-wrap J_Region">


                    <!-- module -->

                    <div
                         data-gitgroup="tb-mod" data-ext="" data-engine="tce" class="foot-search-pc J_Module"
                         tms="foot-search-pc/0.0.3" tms-datakey="tce/1283951"
                         tms-data="{&quot;moduleinfo&quot;:{},&quot;txts&quot;:[{&quot;data_para&quot;:{&quot;tce_vid&quot;:&quot;0&quot;,&quot;tce_sid&quot;:2378680,&quot;env&quot;:&quot;online&quot;},&quot;tms_type&quot;:&quot;jsonp&quot;,&quot;data_type&quot;:&quot;tceonline&quot;}],&quot;countinfo&quot;:{&quot;txts&quot;:{&quot;length_pc&quot;:1,&quot;length&quot;:1}},&quot;$tmsId&quot;:&quot;tce/1283951&quot;}">
                        <div class="J_ModContainer">
                            <div class="module-wrap">
                                <div class="foot-search">
                                    <div id="main-nav">
                                        <div class="main-nav-con">
                                            <h1 id="taobao-logo">
                                                <a href="/"
                                                   class="taobao-aitao-logo" data-snstracelog="tbgltjph.4.1"></a>
                                            </h1>
                                            <div class="main-nav-menu">
                                                <form action="//s.taobao.com/search" method="get" target="_blank">
                                                    <input class="J_FormInput same-banner-form_input" type="text"
                                                           placeholder="请输入要搜索的词" id="itemUrl" name="q" value="">
                                                    <button class="J_FormButton same-banner-form_coll" type="submit"
                                                            data-link="/similar.htm" data-snstracelog="tbgltjph.4.6">搜 索
                                                    </button>
                                                </form>
                                            </div>
                                        </div>

                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                    <!--module -->
                </div>
            </div>
            <!--col -->
        </div>
        <!-- row -->
    </div>
    <!-- container -->

    <!-- container -->
    <div class="layout layout-grid-0">
        <!--row -->
        <div class="grid-0">

            <!-- col -->

            <div class="col col-main">
                <div class="main-wrap J_Region">


                    <!-- module -->

                    <div data-spm="931864" data-moduleid="0" data-name="act-201712-my-footmark-pc" data-guid="931864"
                         id="guid-931864" data-scene-id="1283955" data-scene-version="0" data-hidden=""
                         data-gitgroup="tb-mod" data-ext="" data-engine="tce" class="act-201712-my-footmark-pc J_Module"
                         tms="act-201712-my-footmark-pc/0.0.11" tms-datakey="tce/1283955">
                        <div class="J_ModContainer">
                            <div class="module-wrap J_Title" data-title="我的足迹">
                                <div class="fix-area J_fix_area">
                                    <div class="bath-wrap J_head_bath">
                                        <div class="bath-del">
                                            <div class="hover-wrap J_bath" style="">
                                                <span class="iconfont icon-lajitong"></span>
                                                <span class="enter-del J_EditBtn">批量删除</span>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                                <div class="reds-list">

                                    <div class="line-mask"></div>
                                    <div class="item-list J_redsList">
                                    <c:forEach items="${myHistories}" var="mh" varStatus="vs">
                                        <c:forEach items="${mh.value}" var="history" varStatus="vs2">
                                            <div class="item-box J_goods" data-date="${mh.key}" data-count="${fn:length(mh.value)}" data-id="${history.product.cartId}">
                                                <div class="goods-date">
                                                    <c:if test="${vs2.first}">
                                                        <span class="date J_date">
                                                      <i class="month-lite"><c:set var="month" value='${fn:split(mh.key, "-")[1]}'></c:set>${month}</i>.
                                                      <i class="day-lite"><c:set var="day" value='${fn:split(mh.key, "-")[2]}'></c:set>${day}</i>
                                                      <i class="date-desc"></i>
                                                      <i class="count">${fn:length(mh.value)}</i>件宝贝
                                                      </span>
                                                    </c:if>
                                                    <s class="line"></s>
                                                </div>
                                                <a class="item" href="/" target="_blank">
                                                </a>
                                                <div class="img-box J_box no-delete">
                                                    <a class="item" href="/buy.htm?pid=${history.product.id}" target="_blank">
                                                    <img style="height: 195px;width: 195px" alt="${history.product.productName}" src="${history.product.productImages.get(0).imagePath}">
                                                    <span class="soldout">已售罄</span>
                                                    </a>
                                                    <a class="icon-content J_icon"style="display: none;">
                                                    <span class="iconfont icon-lajitong" style="font-size: 30px"> </span>
                                                </a>
                                                    <div class="del-content J_area" style="display: none;">
                                                    </div>
                                                </div>
                                                <div class="item-info">
                                                    <div class="price-box">
                                                        <span class="price-new"><i>¥</i>${history.product.nowPrice}</span>
                                                        <span class="price-old">¥${history.product.beforePrice}</span>
                                                    </div>
                                                    <div class="title">
                                                        ${history.product.productName}
                                                    </div>
                                                </div>
                                            </div>
                                        </c:forEach>
                                    </c:forEach>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                    <!--module -->
                </div>
            </div>
            <!--col -->
        </div>
        <!-- row -->
    </div>
    <!-- container -->
</div>
<!-- tail-->
<jsp:include page="${pageContext.request.contextPath}/public_page/last.html"></jsp:include>
<!-- main end-->
<jsp:include page="/public_page/open_chat.jsp"></jsp:include>
<script type="text/javascript" src="${pageContext.request.contextPath}/static/js/self/user/tmFoot.js"></script>
</body>
</html>
